<!-- 插件后台分类管理 -->
<style>
.container .floattop{padding-bottom: 0;}
	.none { display: none;}
	.btn { height: 30px;  color: #f00; border: 1px solid #ddd; background: #dedeef;}
	form { margin: 0 auto; padding: 10px; border: #ddd 1px solid;}
	form label{display: inline-block;padding:8px 5px;}
	form.beifen label{width: 200px;}
	form label:hover{background: #f7f7f7;}
	label > span{display: inline-block;width: 150px;}
</style>
<div id="nofugai">&nbsp;</div>
<form action="{ADMINSCRIPT}?action=db&operation=export&setup=1" autocomplete="off" method="post" name="cpform" class="beifen">
<h3>{lang jameson_read:xuanzeyaobeifen}/{lang jameson_read:banben} {$theversion}</h3>
{loop $files $key $file}
	<label class="marginright">
	<input type="checkbox" name="customtables[]" value="{$file}" checked  />
	<span>{$filenames[$key]}</span>
	</label>
{/loop}
<h3 class="mtm">{lang jameson_read:shujubeifen}</h3>
<div><input type="submit" value="{lang jameson_read:chuangjianbeifen}" name="exportsubmit" class="btn">
<input type="hidden" name="extendins" value="0">
<input type="hidden" name="formhash" value="{FORMHASH}">
<input type="hidden" name="method" value="multivol">
<input type="hidden" name="sizelimit" value="2048">
<input type="hidden" name="type" value="custom">
<input type="hidden" name="usehex" value="1">
<input type="hidden" name="usezip" value="0">
<input type="hidden" name="filename" value="jamesonread{$exttheversion}">
</div>
</form>

<form class="mtm" action="?action=plugins&operation=config&do={$_GET['do']}&identifier=jameson_read&pmod=jameson_read&contrl=mdata&act=import" autocomplete="off" method="post" name="cpform">
<h3>{lang jameson_read:xuanzequanbubeifen}</h3>
{if $datafile}
{loop $datafile $key $file}
<div>
	<label class="marginright">
		<span>{$file['version']}&nbsp;&nbsp;{lang jameson_read:beifenjuan}{$file['fenjuan']}</span>  {$file['name']}
	<input type="checkbox" name="file[]" value="{$file['name']}"  />
	</label>
</div>
{/loop}
<div>
<input type="submit" value="{lang jameson_read:huifushuju}" name="exportsubmit" class="btn">
<input type="hidden" name="extendins" value="0">
<input type="hidden" name="formhash" value="{FORMHASH}">
</div>
{else}
<h3>{lang jameson_read:wubeifenwenjian}</h3>
{/if}
</form>
<script type="text/javascript" src="./source/plugin/jameson_read/template/adm.js"></script>